﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace customized_keyboard
{
    class MyDictionary
    {
        public readonly Dictionary<string, byte> NORMAL_KEY_DICT = new Dictionary<string, byte>
        {
            {"A",0x04},
            {"B",0x05},
            {"C",0x06},
            {"D",0x07},
            {"E",0x08},
            {"F",0x09},
            {"G",0x0A},
            {"H",0x0B},
            {"I",0x0C},
            {"J",0x0D},
            {"K",0x0E},
            {"L",0x0F},
            {"M",0x10},
            {"N",0x11},
            {"O",0x12},
            {"P",0x13},
            {"Q",0x14},
            {"R",0x15},
            {"S",0x16},
            {"T",0x17},
            {"U",0x18},
            {"V",0x19},
            {"W",0x1A},
            {"X",0x1B},
            {"Y",0x1C},
            {"Z",0x1D},
            {"D1",0x1E},
            {"D2",0x1F},
            {"D3",0x20},
            {"D4",0x21},
            {"D5",0x22},
            {"D6",0x23},
            {"D7",0x24},
            {"D8",0x25},
            {"D9",0x26},
            {"D0",0x27},
            {"Return",0x28},
            {"Escape",0x29},
            {"Back",0x2A},
            {"Tab",0x2B},
            {"Space",0x2C},
            {"-",0x2D},
            {"=",0x2E},
            {"[",0x2F},
            {"]",0x30},
            {"\\",0x31},
            {"Europe1",0x32},
            {";",0x33},
            {"'",0x34},
            {"`",0x35},
            {",",0x36},
            {".",0x37},
            {"/",0x38},
            {"Capital",0x39},
            {"F1",0x3A},
            {"F2",0x3B},
            {"F3",0x3C},
            {"F4",0x3D},
            {"F5",0x3E},
            {"F6",0x3F},
            {"F7",0x40},
            {"F8",0x41},
            {"F9",0x42},
            {"F10",0x43},
            {"F11",0x44},
            {"F12",0x45},
            {"PrintScreen",0x46},
            {"Scroll",0x47},
            {"Pause",0x48},
            {"Insert",0x49},
            {"Home",0x4A},
            {"PageUp",0x4B},
            {"Delete",0x4C},
            {"End",0x4D},
            {"PageDown",0x4E},
            {"Right",0x4F},
            {"Left",0x50},
            {"Down",0x51},
            {"Up",0x52},
            {"NumLock",0x53},
            {"Divide",0x54},
            {"Multiply",0x55},
            {"Subtract",0x56},
            {"Add",0x57},
            {"Returnr",0x58},
            {"NumPad1",0x59},
            {"NumPad2",0x5A},
            {"NumPad3",0x5B},
            {"NumPad4",0x5C},
            {"NumPad5",0x5D},
            {"NumPad6",0x5E},
            {"NumPad7",0x5F},
            {"NumPad8",0x60},
            {"NumPad9",0x61},
            {"NumPad10",0x62},
            {"Delete2",0x63},
            {"Europe2",0x64},
            {"Apps",0x65},
            {"KeyboardPower",0x66},
            {"Keypad=",0x67},
            {"F13",0x68},
            {"F14",0x69},
            {"F15",0x6A},
            {"F16",0x6B},
            {"F17",0x6C},
            {"F18",0x6D},
            {"F19",0x6E},
            {"F20",0x6F},
            {"F21",0x70},
            {"F22",0x71},
            {"F23",0x72},
            {"F24",0x73},
            {"LeftControl",0xE0},
            {"LeftShift",0xE1},
            {"LeftAlt",0xE2},
            {"LeftGUI",0xE3},
            {"RightControl",0xE4},
            {"RightShift",0xE5},
            {"RightAlt",0xE6},
            {"RightGUI",0xE7},
            {"FF",0xFF}
        };
        public readonly Dictionary<string, byte> MEDIA_KEY_DICT = new Dictionary<string, byte>
        {
            { "Volume-", 0x02 },
            { "Volume+", 0x01 },
            { "Play/Pause", 0x08 },
            { "Stop", 0x10 },
            //{ "My Computer", 0x01 },
            //{ "Calculator", 0x02 },
            //{ "FF", 0xFF }
        };

    }
}
